How To Remove "m=1" In Blogger - A Step by Step Guide
Introduction
Have you been searching for ways to remove the "m=1" parameter from your Blogger website's URL? Look no further! In this blog post, we will provide you with a detailed step-by-step guide on how to remove "m=1" in Blogger. By following these instructions, you can ensure a clean and user-friendly URL structure.Let's dive in and learn how to remove "m=1" in Blogger.
| How To Remove "m=1" In Blogger |
Accessing the Blogger Dashboard
You must log in to your Blogger account to start the process of deleting "m=1" from the URL of your website.
Editing the HTML Theme
Once you're on the Blogger dashboard, locate the "Themes" option and click on it. From there, select "Edit HTML." This will open the HTML code editor for your Blogger theme.
Copy the Code
To make things easier for you, we have prepared a code snippet that you can copy below. copy the code and keep it handy for the next step.
<script type='text/javascript'> //<![CDATA[ var uri = window.location.toString(); if (uri.indexOf("%3D","%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("%3D%3D","%3D%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D%3D")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("&m=1","&m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("&m=1")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("?m=1","?m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?m=1")); window.history.replaceState({}, document.title, clean_uri); } //]]> </script>
Pasting the Code
Now return to the Blogger HTML code editor. Paste the copied code into the </body> section of your Blogger theme's HTML code.
Finding the Slash Body Section
Within the HTML code editor, search for the "</body>" section. If you're having trouble locating it, simply use the "Control + F" shortcut and enter "</body>" in the search bar. This will highlight the corresponding section for you.
Inserting the Code
Scroll to the end of the "</body>" section and insert the code you copied in the previous step. This code snippet will effectively remove the "m=1" parameter from your Blogger website's URL.
Saving Changes
Once you have inserted the code, save your changes in the Blogger HTML code editor. You should see a confirmation message indicating that the update was successful.
Verifying the Removal
View your blog or website to make sure the "m=1" parameter has been correctly deleted from the URL of your Blogger website. The URL should now be clean and free from the "m=1" parameter.
Conclusion
By following the step-by-step instructions provided in this blog post, you can easily remove the "m=1" parameter from your Blogger website's URL. We expect that this information will be useful in solving this problem. If you found this post informative, please like our blog and consider subscribing to our blog for more useful content. Stay tuned for upcoming blogs covering a wide range of topics.
0 Comments